package com.zzt.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.zzt.entity.Myorder;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MyorderService {
    //创建订单
    public Myorder createOrder(Myorder myorder) throws JsonProcessingException;

    //展示我的所有订单
    public List<Myorder> showAllOrders(int mno);

}
